<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>uuQuery - style selector</title>
<style type="text/css">@import url(../README.css);</style>
<script type="text/javascript" src="../uuQuery.js"></script>
<script type="text/javascript" src="iterator.js"></script>
</head>
<body>
<script>
window.onload = function() {
  setTimeout(boot1000, 1000);
};

function boot1000() {
  uuQuery('div{ backgroundImage /= "(.gif|.png)$"i }').forEach(function(v) {
    v.style.backgroundRepeat = "no-repeat";
    v.style.backgroundPosition = "center";
    v.style.backgroundColor = "white";
    v.style.color = "green";
  });
}
</script>
<ul>
<li>Computed style operator /=</li>
</ul>
<div style="background: url(../img/c32.png)">Google Chrome</div>
<div style="background: url(../img/s32.png)">Safari</div>
<div style="background: url(../img/f32.png)">Firefox</div>
<div style="background: url(../img/i32.png)">IE</div>
<div style="background: url(../img/o32.png)">Opera</div>

<pre class="eg">
&lt;div style="background: url(../img/c32.png)"&gt;Google Chrome&lt;/div&gt;
&lt;div style="background: url(../img/s32.png)"&gt;Safari&lt;/div&gt;
&lt;div style="background: url(../img/f32.png)"&gt;Firefox&lt;/div&gt;
&lt;div style="background: url(../img/i32.png)"&gt;IE&lt;/div&gt;
&lt;div style="background: url(../img/o32.png)"&gt;Opera&lt;/div&gt;
&lt;div style="background: url(../img/l16.gif)"&gt;Anime gif&lt;/div&gt;

function boot1000() {
  uuQuery('div{ backgroundImage /= "(.gif|.png)$"i }').forEach(function(v) {
    v.style.backgroundRepeat = "no-repeat";
    v.style.backgroundPosition = "center";
    v.style.backgroundColor = "white";
    v.style.color = "green";
  });
}
</pre>

</body>
</html>